﻿using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Demo.Api.Data;
using Demo.Api.Entities;
using Microsoft.EntityFrameworkCore;

namespace Demo.Api.Services
{
    public class AffairRepository : Repository<AffairDo>
    {
        public AffairRepository(DemoDbContext context) : base(context)
        {
            DataSet = Context.Affairs;
        }


    }
}